#ifndef __GAME_LAYER_H__
#define __GAME_LAYER_H__

class cGameHUDLayer;
class cLogicManager;

class cGameLayer : public CCLayer
{
public:
	cGameLayer();
	~cGameLayer();

	bool init();
	void update(ccTime dt);
	void draw();

	void ccTouchesBegan(CCSet *touches, CCEvent *event);
	void ccTouchesMoved(CCSet *touches, CCEvent *event);
	void ccTouchesEnded(CCSet *touches, CCEvent *event);
	//void ccTouchesCancelled(CCSet *touches, CCEvent *event);

	// implement the "static node()" method manually
	LAYER_NODE_FUNC(cGameLayer);

private:
	cGameHUDLayer* m_HUDLayer;
	cLogicManager* m_logicManager;

	tBool m_moveStart;
	tBool m_shootStart;
};


#endif // __GAME_LAYER_H__